
//
//  MeiAngInterface.h
//  meiang_edu
//
//  Created by hfcb on 2018/7/29.
//  Copyright © 2018年 com.meiang.meiang_edu. All rights reserved.
//

#ifndef MeiAngInterface_h
#define MeiAngInterface_h

#pragma mark - 网络请求的Base地址
#define PROTOCOL @"http://"
//正式服务器
#define API_DOMAIN @"www.armyant.com.cn:8082/Army"
//测试服务器
#define DOMAINXX @""

// OSS存储
#define IMG_OSS @"http://60.205.57.49:8082/Army/v1.1_oss/oss_"

/** 获取验证码 */
#define REGISTER_SENDMSG [NSString stringWithFormat:@"%@%@/v1.1_register/sendmsg_",PROTOCOL,API_DOMAIN]
/** 登录 */
#define LOGIN_CHECK [NSString stringWithFormat:@"%@%@/v1.1_logincheck",PROTOCOL,API_DOMAIN]
/** 注册,更改或忘记密码 */
#define REGISTER_ADD_AAA [NSString stringWithFormat:@"%@%@/v1.1_register/add_aaa",PROTOCOL,API_DOMAIN]
/** 首页标签列表 */
#define HOME_LABEL_LIST [NSString stringWithFormat:@"%@%@/v1.1_first_labels/list_ddd",PROTOCOL,API_DOMAIN]
/** 首页标签下消息 */
#define PICKUP_MSG_LIST [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/list_",PROTOCOL,API_DOMAIN]
/** 用户下机构 */
#define USER_ORGANIZATION_LIST [NSString stringWithFormat:@"%@%@/v1.1_userorganization/list_",PROTOCOL,API_DOMAIN]
/** 首页欢迎列表 */
#define LIST_ARMY [NSString stringWithFormat:@"%@%@/v1.1_armyshow/list_army",PROTOCOL,API_DOMAIN]
/** 首页-获得当前欢迎影像 */
#define CURRENT_LIST_ARMY [NSString stringWithFormat:@"%@%@/v1.1_armyshow_current/list_army",PROTOCOL,API_DOMAIN]
/** 功能-获得功能分组 */
#define FUNCTION_GROUP_LIST [NSString stringWithFormat:@"%@%@/v1.1_functiongroup/list_",PROTOCOL,API_DOMAIN]
/** 功能-功能列表 */
#define FUNCTION_BYORG_LIST [NSString stringWithFormat:@"%@%@/v1.1_functionbyorg/list_",PROTOCOL,API_DOMAIN]
/** 功能-动态，留言 */
#define PICKUP_MSG_LIST [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/list_",PROTOCOL,API_DOMAIN]
/** 功能-员工列表 功能-资质 首页宝宝切换列表 首页机构过滤列表 */
#define BASE_LISTENTITY_LIST [NSString stringWithFormat:@"%@%@/v1.1_baselistentity/list_",PROTOCOL,API_DOMAIN]
/** 消息删除 */
#define MESSAGE_DELETE [NSString stringWithFormat:@"%@%@/v1.1_basemessage/delete_",PROTOCOL,API_DOMAIN]
/**获取地理位置*/
#define LOCATION_INFO [NSString stringWithFormat:@"%@%@/location?lo=",PROTOCOL,API_DOMAIN]
// -------------------------------------------------------------------------------------------------------------- //
/** 作业-作业详情机构段 */
#define HOME_WORK_DETAIL [NSString stringWithFormat:@"%@%@/v1.1_basemessage/list_",PROTOCOL,API_DOMAIN]
/** 作业-作业详情家长端 */
#define HOME_WORK_DETAIL_GENEARCH [NSString stringWithFormat:@"%@%@/v1.1_message_zy/info_",PROTOCOL,API_DOMAIN]
/** 消息-删除消息详情 */
#define DETAIL_MESSAGE_DELETE [NSString stringWithFormat:@"%@%@/v1.1_pickupmessage/delete_",PROTOCOL,API_DOMAIN]
/** 消息-点击报名 */
#define MESSAGE_SIGN [NSString stringWithFormat:@"%@%@/v1.1_message_signin/add_",PROTOCOL,API_DOMAIN]
/** 消息-撤销报名 */
#define MESSAGE_DELETE_SIGN [NSString stringWithFormat:@"%@%@/v1.1_message_signin/delete_",PROTOCOL,API_DOMAIN]
/** 消息-消息详情 */
#define MESSAGE_DETAIL [NSString stringWithFormat:@"%@%@/v1.1_basemessage/info_",PROTOCOL,API_DOMAIN]
/** 消息-获得回复信息 */
#define MESSAGE_GET_REVERT [NSString stringWithFormat:@"%@%@/v1.1_message_child/list_",PROTOCOL,API_DOMAIN]
/** 作业-确认完成 */
#define HOME_WORK_SUBMIT [NSString stringWithFormat:@"%@%@/v1.1_zy_status/update",PROTOCOL,API_DOMAIN]

/** 获取sts凭证地址 */
#define GetStsToken_URL [NSString stringWithFormat:@"%@%@/StsToken",PROTOCOL,API_DOMAIN]

/**通用录入-获得分类*/
#define GetCategory_url [NSString stringWithFormat:@"%@%@/v1.1_general_input_type/list_",PROTOCOL,API_DOMAIN]
/**通用录入-信息保存*/
#define  SavePutInfo_url [NSString stringWithFormat:@"%@%@/v1.1_general_input/add_",PROTOCOL,API_DOMAIN]

#endif /* MeiAngInterface_h */
